import ReactDOM from 'react-dom/client'
// import {
//   RecoilRoot,
// } from 'recoil';
// import {
//   RouterProvider,
// } from "react-router-dom";
import { HashRouter } from "react-router-dom";
import {
  // router,
  MyRoutes
} from '@/router'
import Layout from "./layouts";
// import TabChrome from './pages/tab-chrome';
import './index.css'

ReactDOM.createRoot(document.getElementById('root')!).render(
  // <RecoilRoot>
    <Layout>
      {/* <RouterProvider router={router} /> */}
      <HashRouter basename='/'>
        <MyRoutes />
      </HashRouter>
      {/* <TabChrome /> */}
    </Layout>
  // </RecoilRoot>
)
